func sync/atomic.StoreInt32

25 uses

	sync/atomic (current package)
		doc.go#L129: func StoreInt32(addr *int32, val int32)

	go.uber.org/atomic
		int32.go#L82: 	atomic.StoreInt32(&i.v, val)

	google.golang.org/grpc/internal/channelz
		funcs.go#L56: 		atomic.StoreInt32(&curState, 1)
		funcs.go#L68: 	atomic.StoreInt32(&maxTraceEntry, i)
		funcs.go#L73: 	atomic.StoreInt32(&maxTraceEntry, defaultMaxTraceEntry)

	google.golang.org/grpc/internal/grpcsync
		event.go#L41: 		atomic.StoreInt32(&e.fired, 1)

	google.golang.org/protobuf/internal/impl
		encode.go#L63: 			atomic.StoreInt32(p.Apply(mi.sizecacheOffset).Int32(), int32(size))
		encode.go#L91: 			atomic.StoreInt32(p.Apply(mi.sizecacheOffset).Int32(), -1)
		encode.go#L93: 			atomic.StoreInt32(p.Apply(mi.sizecacheOffset).Int32(), int32(size))

	internal/poll
		copy_file_range_linux.go#L60: 			atomic.StoreInt32(&copyFileRangeSupported, 1)
		copy_file_range_linux.go#L65: 			atomic.StoreInt32(&copyFileRangeSupported, 0)
		copy_file_range_linux.go#L88: 			atomic.StoreInt32(&copyFileRangeSupported, 0)
		fd_unix.go#L707: 			atomic.StoreInt32(&tryDupCloexec, 0)

	internal/syscall/unix
		getrandom.go#L34: 			atomic.StoreInt32(&getrandomUnsupported, 1)

	log
		log.go#L84: 	atomic.StoreInt32(&l.isDiscard, isDiscard)

	net/http
		server.go#L527: func (b *atomicBool) setTrue()    { atomic.StoreInt32((*int32)(b), 1) }
		server.go#L528: func (b *atomicBool) setFalse()   { atomic.StoreInt32((*int32)(b), 0) }
		server.go#L2907: 			atomic.StoreInt32(&allowQuerySemicolonsInUse, 1)
		server.go#L3182: 		atomic.StoreInt32(&srv.disableKeepAlives, 0)
		server.go#L3185: 	atomic.StoreInt32(&srv.disableKeepAlives, 1)

	runtime/trace
		trace.go#L136: 	atomic.StoreInt32(&tracing.enabled, 1)
		trace.go#L145: 	atomic.StoreInt32(&tracing.enabled, 0)

	testing
		benchmark.go#L626: 	atomic.StoreInt32(&b.hasSub, 1)
		benchmark.go#L658: 		atomic.StoreInt32(&sub.hasSub, 1)
		testing.go#L1454: 	atomic.StoreInt32(&t.hasSub, 1)